<template>
	<view class="img">
		<img :src="img" alt="">
	</view>
</template>

<script>
	export default {
		props: {
			img: {
				type: String,
				default: ""
			}
		},
		data() {
			return {

			}
		}
	}
</script>

<style lang="scss" scoped>
	.img {
		margin-top: 10px;

		img {
			width: 100%;
			height: 200px;
			border-radius: 5px;
		}
	}
</style>